package org.jeecg.modules.crm.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: Manager Commission
 * @Author: jeecg-boot
 * @Date:   2025-04-10
 * @Version: V1.0
 */
@ApiModel(value="manager_commission对象", description="Manager Commission")
@Data
@TableName("manager_commission")
public class ManagerCommission implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**Commission Scheme*/
	@Excel(name = "Commission Scheme", width = 15)
    @ApiModelProperty(value = "Commission Scheme")
    @Dict(dicCode = "id",dicText = "dict_name",dictTable = "project_scheme")
    private String commissionScheme;
	/**From Date*/
	@Excel(name = "From Date", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "From Date")
    private Date fromDate;
	/**To Date*/
	@Excel(name = "To Date", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "To Date")
    private Date toDate;
	/**Type*/
	@Excel(name = "Type", width = 15)
    @ApiModelProperty(value = "Type")
    @Dict(dicCode = "ProjectManagerType")
    private String type;
	/**Manager*/
	@Excel(name = "Manager", width = 15)
    @ApiModelProperty(value = "Manager")
    @Dict(dicCode = "id",dicText = "display_name",dictTable = "agent")
    private String manager;
	/**Commision*/
	@Excel(name = "Commision", width = 15)
    @ApiModelProperty(value = "Commision")
    private String commision;
    /**Commision*/
    @Excel(name = "CommisionType", width = 15)
    @ApiModelProperty(value = "commisionType")
    @Dict(dicCode = "Commission")
    private String commisionType;
	/**Overriding*/
	@Excel(name = "Overriding", width = 15)
    @ApiModelProperty(value = "Overriding")
    private String overriding;
	/**Main_id*/
	@Excel(name = "Main_id", width = 15)
    @ApiModelProperty(value = "Main_id")
    private String mainId;
}
